package com.gzhryc.socket.mosquitto;

import com.gzhryc.socket.SocketConfig;
import com.gzhryc.socket.SocketMessage;
import com.gzhryc.socket.SocketNode;

public class EmptyMqttNode extends SocketNode {

	public EmptyMqttNode(String clientId,String ip,Integer port) {
		this.config = new SocketConfig();
		this.config.setClientId(clientId);
		this.config.setIp(ip);
		this.config.setPort(port);
	}

	@Override
	public void start() {
	}

	@Override
	public void startService() {
	}

	@Override
	public boolean isConnected() {
		return false;
	}

	@Override
	public String getId() {
		return null;
	}

	@Override
	public boolean writeAndFlush(SocketMessage message) {
		return false;
	}

	@Override
	public void close() {
	}

	@Override
	public void reconnect() {
		// TODO Auto-generated method stub
		
	}

}
